Bump angular-ui to 0.6.

Use $modal instead of $dialog.
Add preference editing.
Respond with 401 for empty username/password.
Fix callback name.
Add global alert support.
Add sign out.