Login changes

There is a problem with cookie reading in loginmanager class