Merge pull request #286 from pedroigor/PLINK-434

[PLINK-434] - Credential status is not being updated when using username...
Initial code.