Issue Summary
This is reproducible on Data Center: (yes)
Steps to Reproduce
Attempt to login to bitbucket over a HTTP connection
Expected Results
The login passes
Actual Results
The login fails
...
Workaround
Set server.session.cookie.secure=false in the bitbucket properties file and restart.