Clear usename/password fields in auth tab on button click
Fixed reference to window in auth tab