Near Expiry password feature

Near Expiry password feature
Updated as per comments and added refresh session

Updated as per comments and added refresh session
Merge pull request #27 from MSOpenTech/near-expiry-password

Near expiry password feature