Fix bootstrap dropdown.

AngularUI bootstrap conflicts with the default bootstrap JS apparently.
Make login/logout work properly.

Session data is stored in window.sessionStorage.