Fix bug when entering wrong credentials

Don't reject all buffered requests if user enters wrong credentials.
Prepeare register and logout functionality

- add showRegisterDialog fn
- add $scope inheritance to auth controllers
- reactivate proper oauth2 session reset