Added forms auth support

Added forms auth support