Increase session time to 30 days
Fixed a bug where user would direct to failed authentication page after successful login