I had the “Hue takes exactly 5 minutes to login” problem. This is with HDP2.0.6, using Hue 2.3. There’s something about the _get_hbase_status() call that is timing out.
I hacked around it, with the following code in /usr/lib/hue/apps/about/src/about/views.py:
“””Returns True if hbase master started and False otherwise.”””
It may or may not work for you, but it did solve my immediate problem.