[netipmid] Fix: validate user lockout status

User lockout validation must happen after reading the password
and not before it. This was causing RMCP+ session establishment
failure. This fixes the same

Tested:
1. Verified RMCP+ session establishment when users are not locked
out.
2. Enabled user lockout feature property, and tried to login
after failed login attempts. Able to see RMCP+ session establishment
failed as expected.

Change-Id: Ie4651dfed330a2769114562e031c4263a429da8f
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
1 file changed