added Remember Code checkbox/functionality
fixed failing tests
added tests around remember code functionality
updated to store code in cookie with base64 encoding
Merge pull request #6 from davidkuster/master

'Remember Code' functionality