correctly set copy button state on login
Merge pull request #39 from kprevas/master

copy button fix