Added cookie encryption and encryption module

We now encrypt cookies before passing them to the Android client,
preventing them from being stolen.