If sysman password is correct but login to console failing with authentication errors

Verify if your sysman password is correct using database login and emctl status command

$OMS_HOME/bin/emctl status oms -details

Login to repository database as sysdba and make below changes
[oracle@oel6oem trace]$ sqlplus
SQL*Plus: Release 12.1.0.2.0 Production on Sat Apr 4 16:24:13 2020
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter user-name: /as sysdba
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> sho parameter job_q
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
job_queue_processes integer 1000
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
--------- --------------------
EMREP READ WRITE
SQL> ALTER SYSTEM SET job_queue_processes=20 SCOPE=BOTH SID='*';
System altered.
SQL> sho parameter job_q
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
job_queue_processes integer 20
Now login as sysman user and run below command
SQL> conn sysman/system123
Connected.
SQL> update mgmt_audit_master set prepopulate_days=5 where prepopulate_days is null;
0 rows updated.
SQL> exec mgmt_audit_admin.add_audit_partition;
PL/SQL procedure successfully completed.
Stop start oms
[oracle@oel6oem log]$ $OMS_HOME/bin/emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down
[oracle@oel6oem log]$ $OMS_HOME/bin/emctl start oms
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up
Login to emcli using sysman account and perform sync
[oracle@oel6oem log]$ $OMS_HOME/bin/emcli login -username=sysman -password=system123
Login successful
[oracle@oel6oem log]$ $OMS_HOME/bin/emcli sync
Synchronized successfully
[oracle@oel6oem log]$ $OMS_HOME/bin/emcli list_plugins_on_server
OMS name is oel6oem.localdomain:4889_Management_Service
Plug-in Name Plugin-id Version [revision]
Oracle Cloud Framework oracle.sysman.cfw 12.1.0.3.0
Oracle Database oracle.sysman.db 12.1.0.8.0
Oracle Fusion Middleware oracle.sysman.emas 12.1.0.8.0
Oracle MOS (My Oracle Support) oracle.sysman.mos 12.1.0.6.0
Oracle Exadata oracle.sysman.xa 12.1.0.6.0
Now you should be able to login.
