Wire up AWS login and add unit tests for login/auth.  GUI-188